<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<!--
   action="/login" 默认的处理登录请求地址 /login
   name="username" 默认用户名参数名 username
   name="password" 默认的密码参数名 password
   method="post" 提交方式要post
-->
<form action="/login" method="post">
    用户名：
    <input type="text" name="username">
    密码：
    <input type="text" name="password">

    <input type="submit" value="登录">
</form>

</body>
</html>
